package itheima.d06;

import javax.xml.crypto.Data;
import java.io.FileOutputStream;
import java.io.PrintStream;

public class Test {
    public static void main(String[] args) {
        try (
                PrintStream ps = new PrintStream(new FileOutputStream("D:\\javabasepro\\java AdvanceProject\\day11\\src\\itheima\\d06\\xiangge.txt"));

                ) {

            ps.println("小哥，你妈妈");
            ps.println(666);
            ps.println(true);
            ps.println(3.14);
            ps.println('a');


            ps.write(97);

        }catch ( Exception e){

        }
    }
}
